home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
Source
/
Telnet 2.6.1d1 4⁄26⁄94 Folder
/
source
/
main
/
telneterrors.h
< prev
next >
Wrap
Text File
|
1993-11-10
|
739b
|
14 lines
/*--------------------------------- Error Classes ------------------------------------*/
#define NOCODE 0 /* no code given, just error strings */
#define FLAGMASK 1023 /* mask all of my flag crap */
#define ERRORMASK 64512 /* mask off all the error crap */
#define NET_ERRORCLASS 2048 /* this bit used for network errors */
#define MEMORY_ERRORCLASS 4096 /* memory allocation errors */
#define RESOURCE_ERRORCLASS 8192 /* problem getting resources */
/*--------------------------------- Error Levels -------------------------------------*/
#define LEVEL1 1 /* informative error */
#define LEVEL2 2 /* tell us about it */
#define LEVEL3 3 /* tell us about it, and hammer Telnet */
#include "errors.proto.h"